home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / texinfo-.1 / util / makefile.djg < prev    next >
Encoding:
Makefile  |  1993-11-27  |  403 b   |  24 lines

  1. common = ../libtxi
  2. LIBS = -L$(common) -ltxi
  3. LOADLIBES = $(LIBS)
  4.  
  5. CFLAGS = -O2 -I$(common)
  6. LDFLAGS = -s
  7.  
  8. all: texindex.exe
  9.  
  10. .c.o:
  11.     gcc -c -I. -I$(common) $(CFLAGS) $<
  12.  
  13. texindex.exe : texindex
  14.     coff2exe texindex
  15.  
  16. texindex: texindex.o $(common)/libtxi.a
  17.     gcc $(LDFLAGS) -o texindex texindex.o $(LOADLIBES)
  18.  
  19. texindex.o: texindex.c $(common)/getopt.h
  20.  
  21. clean :
  22.     -del *.o
  23.     -del texindex
  24.